extern printf
extern add

section .data
	format: db `%d + %d = %d\n`, 0

section .text
	global main

main:
	push rbp
	mov rbp, rsp

	mov edi, 25
	mov esi, 19
	call add

	mov ecx, eax
	mov edx, esi
	mov esi, edi
	lea rdi, [rel format]
	call printf wrt ..plt

	xor rax, rax
	leave
	ret
